package com.gy.hsim.bservice.framework.mq;

import java.io.IOException;

/**
 *序列化工厂类
 * @author guiyi147
 *
 */
public interface CodecFactory {

	byte[] serialize(Object obj) throws IOException;
	
	Object deSerialize(byte[] in) throws IOException;

}
